wayland: Clear current cusor on leave so we always set it on enter
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 21 Mar 2013 12:51:35 +0000 (08:51 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 21 Mar 2013 12:54:42 +0000 (08:54 -0400)
commita80998127ce779b156df50e8d1ebaa4eedab31b5
tree9d0aed0e218728395cf102a716a2640db70b76ed
parent5f48934943b1c5b5b331fc84a6fdf3c67323c218
wayland: Clear current cusor on leave so we always set it on enter

Commit 0d9d808217a04ee965ce5f60f9aff00b2ec4938e fixed the hotspot issue,
but commit f2cc52fddd74b3064eec85e17161ebbc4ee14f49 then optimized away
cursor changes a little too aggressively.  We always need to set the
cursor on enter.  Make sure we clear the current cursor on leave so we
don't think it's already set on the next enter.

https://bugzilla.gnome.org/show_bug.cgi?id=695512
gdk/wayland/gdkdevice-wayland.c